package com.lennon.desinge.prototype;

public class Client {
    
    private Prototype prototype;
    
    public Client(Prototype prototype) {
        this.prototype = prototype;
    }
    
    public Prototype getPrototype() {
        return prototype;
    }



    public void setPrototype(Prototype prototype) {
        this.prototype = prototype;
    }

    public static void main(String[] args) {
        Client c = new Client(new ConcretePrototype());
        c.getPrototype().cloneObject();
    }
}
